const express = require('express');
const routes = require('./routes');

const app = express();
app.use('/api', routes);
app.use('/public/apidoc', express.static('public/apidoc'))
app.use((req, res) => {res.status(404).redirect('/public/apidoc')})
app.listen(3000);
